Divisibility Of A Square Implies Divisibility of the Base For Squarefree Integers

Theorem

The proposition that ba2 implies that ba for all positive integers a if and only if b is squarefree integer.

Proof

To see why, consider the prime factorisations of a and b by the fundamental theorem of arithmetic:

a=p1r1p2r2pnrn
b=q1s1q2s2qksk

For backwards implication, we assume that b is squarefree, that is si=1 for all ik. Then, expressing a2 as a product of powers of primes, we have:

a2=p12r1p22r2pn2rn.

So since all of the powers of a2 are at least 2, if we can divide through by b (match up each qi with a pj), then doing so only reduces each ri by at most 1. Therefore, we can match up the factors in the exact same way for dividing by a.

For implication the other way, we prove the contrapositive by assuming that b is not the product of distinct primes, that is, si>1 for at least one ik. Then, consider the counterexample of the value of a, constructed by taking a2 to be the product of qi up to the next even power of si.

By doing so, a2b is a product of distinct primes, and hence a2|b2 trivially. However, ab since whichever si>1 will not be greater than twice itself when rounded up to an even number. For example, 24,3+16,48,.

A specific example of this for intuition is b=12, where 12=322, and so with a2=3222=36, a=6 and 126.